package com.atguigu.eduservice.query;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;

@ApiModel(value = "teacher查询对象", description = "讲师查询对象封装")
@Data
public class EduTeacherQuery implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "教师名称，模糊查询")
    private String name;

    @ApiModelProperty(value = "教师头衔：1高级教师 2首席教师")
    private Integer level;

    @ApiModelProperty(value = "查询开始时间", example = "2022-01-01 10:00:00")
    private String begin;//注意，这里使用的是String类型，前端传过来的数据无需进行类型转换

    @ApiModelProperty(value = "查询结束时间", example = "2022-12-01 10:00:00")
    private String end;

}
